package com.zmn.uac.common.info.wechat;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述：微信小程序 code session信息
 *
 * @author xujie
 * @since 2021/06/11 9:50
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WeChatMinProgramSessionInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @JSONField(name = "openid")
    private String openId;

    @JSONField(name = "session_key")
    private String sessionKey;

    @JSONField(name = "unionid")
    private String unionId;

    @JSONField(name = "errcode")
    private Integer errCode;

    @JSONField(name = "errmsg")
    private String errMsg;
}
